package com.hdoit.kylin.logical.relative.service.impl;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.tennetcn.common.dao.base.impl.SuperService;
import com.hdoit.kylin.logical.relative.dao.IProjectUserDao;
import com.hdoit.kylin.logical.relative.model.ProjectUser;
import com.hdoit.kylin.logical.relative.service.IProjectUserService;
/**
* @author luozhicheng
* @email
* @createtime 2017年07月18日 19:25:55
* @comment
*/
@Component
public class ProjectUserServiceImpl extends SuperService<ProjectUser> implements IProjectUserService{
	@Override
	public List<String> queryList(String loginId) {
		return projectUserDao.queryList(loginId);
	}

	private IProjectUserDao projectUserDao;
	
	
	public IProjectUserDao getProjectUserDao() {
		return projectUserDao;
	}

	@Resource
	public void setProjectUserDao(IProjectUserDao projectUserDao) {
		this.projectUserDao = projectUserDao;
	}


	@Override
	public List<String> queryListByProjectId(String projectId){
		return projectUserDao.queryListByProjectId(projectId);
	}

	@Override
	public boolean deleteProjectUserByProjectId(String projectId) {
		return projectUserDao.deleteProjectUserByProjectId(projectId);
	}

	
	
}
